<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='global-property-'>/**
</span> * @ignore
 * event facade for event module.contains custom dom and touch event
 * @author yiminghe@gmail.com
 */
KISSY.add('event', function (S, DomEvent, CustomEvent) {
<span id='KISSY-Event'>    /**
</span>     * KISSY event utils. Provides event management.
     * @class KISSY.Event
     * @singleton
     * @mixins KISSY.Event.DomEvent
     */
    var Event = S.Event = S.merge(DomEvent, {
        DomEvent: DomEvent,
        CustomEvent: CustomEvent
    });


<span id='KISSY-Event-property-Target'>    /**
</span>     * @member KISSY.Event
     * @property {KISSY.Event.CustomEvent.Target} Target
     */

<span id='KISSY-property-EventTarget'>    /**
</span>     * @property {KISSY.Event.CustomEvent.Target} EventTarget
     * @member KISSY
     */

<span id='KISSY-Event-property-global'>    /**
</span>     * global event target
     * @property {KISSY.Event.CustomEvent.Target} global
     * @member KISSY.Event
     */
    Event.global = CustomEvent.global;

    // compatibility
    S.EventTarget = Event.Target = CustomEvent.targetObject;

    return Event;
}, {
    requires: ['event/dom', 'event/custom']
});</pre>
</body>
</html>
